package cn.com.jtang.wedding.model;
/**
 * 订单类
 */
import java.io.Serializable;
import java.util.Date;

public class Orders implements Serializable{
	
	private Long id;
	private String orderNum;			//必填		订单号
	private Long userId;				//必填		购买者ID
	private Long adminUserId;			//必填		上级管理员的ID
	private String adminUserName;		//必填		管理员名称
	private Date orderTime;				//必填		订购时间
	private Long chargeId;				//必填		套餐ID
	private String orderType;			//必填		订单类型-个人购买，渠道购买，总代购买
	private Integer payState;			//必填		支付状态 1为是，0为否
	private Date effectTime;			//必填		生效时间
	private String notes;				//备注
	private Integer isUsed;				//必填		是否使用 1为是，0 为否
	private Long alipayId;				//支付宝ID
    private String code;   				//必填		定位码  唯一 屏蔽4 3位长度
		
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	
	public String getOrderNum() {
		return orderNum;
	}
	public void setOrderNum(String orderNum) {
		this.orderNum = orderNum;
	}
	
	public Long getUserId() {
		return userId;
	}
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	
	public Long getAdminUserId() {
		return adminUserId;
	}
	public void setAdminUserId(Long adminUserId) {
		this.adminUserId = adminUserId;
	}
	
	public String getAdminUserName() {
		return adminUserName;
	}
	public void setAdminUserName(String adminUserName) {
		this.adminUserName = adminUserName;
	}
	
	public Long getChargeId() {
		return chargeId;
	}
	public void setChargeId(Long chargeId) {
		this.chargeId = chargeId;
	}
	
	public String getOrderType() {
		return orderType;
	}
	public void setOrderType(String orderType) {
		this.orderType = orderType;
	}
	
	public String getNotes() {
		return notes;
	}
	public void setNotes(String notes) {
		this.notes = notes;
	}
	public Date getOrderTime() {
		return orderTime;
	}
	public void setOrderTime(Date orderTime) {
		this.orderTime = orderTime;
	}
	public Integer getPayState() {
		return payState;
	}
	public void setPayState(Integer payState) {
		this.payState = payState;
	}
	public Date getEffectTime() {
		return effectTime;
	}
	public void setEffectTime(Date effectTime) {
		this.effectTime = effectTime;
	}
	public Integer getIsUsed() {
		return isUsed;
	}
	public void setIsUsed(Integer isUsed) {
		this.isUsed = isUsed;
	}
	
	public Long getAlipayId() {
		return alipayId;
	}
	public void setAlipayId(Long alipayId) {
		this.alipayId = alipayId;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	
	
	
	
	
	
	

}
